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