Пример #1
0
 void Start()
 {
     // Initialize all utility script instances, so we don't have to refer to actual game objects
     drawLineManager     = DrawLineManager.Instance;
     vrFileBrowser       = VRFileBrowser.Instance;
     presentationManager = PresentationManager.Instance;
 }
Пример #2
0
    void Start()
    {
        drawLineManager = DrawLineManager.Instance;

        // Set the starting slide as the first slides in the slides array
        slidesToDraw = new GameObject[slides.Length];
    }
Пример #3
0
 void Start()
 {
     drawLine = GameObject.Find("DrawLiner").GetComponent <DrawLineManager>();
     if (materialList[0] != null)
     {
         drawLine.material = materialList[iterator];
     }
 }
Пример #4
0
 private void Awake()
 {
     Instance = this;
 }
Пример #5
0
 // Get all the references.
 private void Awake()
 {
     lineDraw   = GetComponent <DrawLineManager>();
     penDraw    = GetComponent <DrawPenManager>();
     m_AllLines = new Dictionary <int, Line>();
 }