protected override void Awake() { base.Awake(); ppsText = SafeInstantiateText(ModuleText, uiTransform, "pps 00 ms 00"); laserSpeedText = SafeInstantiateText(ModuleText, uiTransform, "rpm 000"); laserInvalidCRCText = SafeInstantiateText(ModuleText, uiTransform, "inv 000 crc 000"); features = GetComponent<LaserFeatures>(); if (features != null) featuresElapsedTimeText = SafeInstantiateText(ModuleText, uiTransform, "seg 00 ms"); }
protected override void Start () { map3D = GetComponent<Map3D>(); features = GetComponent<LaserFeatures>(); base.Start(); }