private void Awake() { if (instance == null) { instance = this; } else { Debug.LogWarning("Instance already exists", this); Destroy(this.gameObject); } }
private void Start() { systemValues = CometValuesHolder.instance; }
private void Start() { systemValues = CometValuesHolder.instance; lifeTime = systemValues.particleLifeTime; }
void Start() { systemValues = CometValuesHolder.instance; transform.localScale = Vector3.one; }