Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
    void Start()
    {
        drawLineManager = DrawLineManager.Instance;

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