void Start() { sentences = new Queue <string>(); sc = GameObject.Find("ExamineCanvas").GetComponent <ShowCanvas>(); states = GameObject.Find("StateObject").GetComponent <States>(); }
// Start is called before the first frame update void Start() { //game objects PlayerObject = GameObject.Find("Player"); ExamineText = GameObject.Find("ExamineText"); showcanvas = GameObject.Find("ExamineCanvas").GetComponent <ShowCanvas>(); states = GameObject.Find("StateObject").GetComponent <States>(); }
private void Set( ) { if (App.Setting.isPaintBitmap == false) { App.Setting.PaintSet(App.Model.VirtualControl, App.Setting.PaintWidth, App.Model.Color); } else { App.Setting.PaintSet(App.Model.VirtualControl, App.Setting.PaintBitmap, App.Setting.PaintWidth, App.Model.Color); } ShowCanvas.Invalidate(); }