示例#1
0
    void Start()
    {
        sentences = new Queue <string>();

        sc     = GameObject.Find("ExamineCanvas").GetComponent <ShowCanvas>();
        states = GameObject.Find("StateObject").GetComponent <States>();
    }
示例#2
0
    // 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>();
    }
示例#3
0
 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();
 }