Side.Awake C# (CSharp) Method

Awake() public method

public Awake ( ) : void
return void
    void Awake()
    {
        emitter = this.GetComponentInChildren<ParticleEmitter>();
        pRenderer = this.GetComponentInChildren<ParticleRenderer>();
        manager = GameObject.Find("GameManager").GetComponent<GameManager>();
        colors = manager.colors;
        partMaterials = manager.materials;
    }