Пример #1
0
    [Range(0, Mathf.PI)] public float offset = 0; // added by kingsley to temp fix the arm

    private void Start()
    {
        nub.GetComponent <SpriteRenderer>().color = Color.green;

        frozenObjects = GameObject.Find("EventHandeler").GetComponent <FrozenObjects>();

        colors = frozenObjects.colors;
    }
Пример #2
0
    void Start()
    {
        particles     = GetComponent <ParticleSystem>();
        main          = particles.main;
        emission      = particles.emission;
        shape         = particles.shape;
        frozenObjects = GameObject.Find("EventHandeler").GetComponent <FrozenObjects>();
        colors        = frozenObjects.colors;


        //temp maybenot
        player = GameObject.Find("player");
    }