Beispiel #1
0
    void Awake()
    {
        player = transform.parent.GetComponent <clipPlayerComplex>();
        Color c = Color.HSVToRGB(298 / 400f, 84 / 255f, .01f);

        scrubIndicator.GetComponent <Renderer>().material.SetColor("_TintColor", c);
    }
 public override void Awake()
 {
     base.Awake();
     player = GetComponent <clipPlayerComplex>();
 }