/*void ActuatePart() * { * currentPart.Actuate(); * }*/ public void ActuatePart <T>() { T inst = forearm.GetComponent <T>(); Part part = (Part)Convert.ChangeType(inst, typeof(T)); part.Actuate(); UpdateTipColor(part); }