Devlog 13
Palasic » Devlog
script for invetory using dnt destroy on load :
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class dntDestroy : MonoBehaviour {
public bool setrum;
public string objName;
//public float xPos = -91f;
// Use this for initialization
void Start () {
UIInventory.have = false;
UIInventory.have2 = false;
UIInventory.have3 = false;
setrum = true;
//xPos = -91f;
}
// Update is called once per frame
void Update () {
DontDestroyOnLoad (gameObject);
/*if(objName == "pintuDapur"){
xPos = -98.23597f;
}
if(objName == "pintu1"){
xPos = 0.34f;
}*/
}
}
Get Palasic
Palasic
#BINUSGAT
Status | Prototype |
Author | Hopeless |
Genre | Puzzle |
Tags | binus, Ghosts, Horror, Indie, indonesia, jakarta, Puzzle-Platformer, Singleplayer, Survival Horror |
Leave a comment
Log in with itch.io to leave a comment.