public void SetProperties(Config.Genes props) { properties = props; status = properties.CreateStatus(); UpdateColor(); }
private void Awake() { mRb = GetComponent <Rigidbody>(); status = properties.CreateStatus(); }