void Start() { traceText = GameObject.Find("TraceText").GetComponent <TraceText>(); chapterControl = GameObject.Find("Init").GetComponent <ChapterControl>(); renderer = videoScreen.GetComponent <Renderer>(); currColor = renderer.material.color; }
void Start() { traceText = GameObject.Find("TraceText").GetComponent <TraceText>(); chapterControl = GameObject.Find("Init").GetComponent <ChapterControl>(); this.objects = Resources.LoadAll("Sequence/Chapter3/BG/" + sequencePath, typeof(Texture)); this.textures = new Texture[objects.Length]; for (int i = 0; i < objects.Length; i++) { this.textures[i] = (Texture)this.objects[i]; } }
void Start() { traceText = GameObject.Find("TraceText").GetComponent <TraceText>(); udpEventModule = GameObject.Find("UDPComm").GetComponent <UDPEventModule>(); // All Chapters Playback initialize videoEvent = GameObject.Find("Video Player").GetComponent <VideoEvent>(); sequenceScreen = GameObject.Find("Sequence Screen"); imgSqcPlayback = GameObject.Find("Sequence Screen").GetComponent <ImageSequencePlayback>(); sceneController = GameObject.Find("Scene Controller").GetComponent <SceneController>(); StartCoroutine(ChapterInit()); }
void Start() { // trace text traceText = GameObject.Find("TraceText").GetComponent <TraceText>(); // Chpater Controller chapterControl = GameObject.Find("Init").GetComponent <ChapterControl>(); // Chapter 2 Controller imageSequencePlayback = GameObject.Find("Sequence Screen").GetComponent <ImageSequencePlayback>(); // Chapter 3 COntroller sceneController = GameObject.Find("Scene Controller").GetComponent <SceneController>(); }
void Start() { traceText = GameObject.Find("TraceText").GetComponent <TraceText>(); this.objects = Resources.LoadAll("Sequence/" + sequencePath, typeof(Texture)); this.textures = new Texture[objects.Length]; this.renderer = this.GetComponent <Renderer>(); currColor = renderer.material.color; maxFrameCounter = objects.Length; for (int i = 0; i < objects.Length; i++) { this.textures[i] = (Texture)this.objects[i]; } }
private GameObject backScene; // hidden scene void Start() { traceText = GameObject.Find("TraceText").GetComponent <TraceText>(); poemSequencePlayback = GameObject.Find("Poem Screen").GetComponent <PoemSequencePlayback>(); alphaSequenceTextureArray = GameObject.Find("BG Alpha Mask").GetComponent <AlpahSequenceTextureArray>(); }
// Chpater 3. void Start() { traceText = GameObject.Find("TraceText").GetComponent <TraceText>(); chapterControl = GameObject.Find("Init").GetComponent <ChapterControl>(); }