void Awake() { rb = GetComponent <Rigidbody2D> (); stone = GameObject.Find("Stone"); stoneMass = stone.GetComponent <Rigidbody2D> ().mass; narritiveManager = NarritiveManager.Instance(); narritiveOptionManager = NarritiveOptionManager.Instance(); Narritive("", 0, 0); //disable the text frame in the beginning }
void Awake() { rb = GetComponent <Rigidbody2D> (); narritiveManager = NarritiveManager.Instance(); narritiveOptionManager = NarritiveOptionManager.Instance(); }