private object GetTargetArg(Type type) { if (_ints.IsTarget(type)) { return(_ints.Get()); } if (_floats.IsTarget(type)) { return(_floats.Get()); } if (_strings.IsTarget(type)) { return(_strings.Get()); } if (_bools.IsTarget(type)) { return(_bools.Get()); } if (_enums.IsTarget(type)) { return(_enums.Get().GetValue()); } if (_vector2s.IsTarget(type)) { return(_vector2s.Get()); } if (_vector3s.IsTarget(type)) { return(_vector3s.Get()); } if (_vector2Ints.IsTarget(type)) { return(_vector2Ints.Get()); } if (_vector3Ints.IsTarget(type)) { return(_vector3Ints.Get()); } if (_colors.IsTarget(type)) { return(_colors.Get()); } if (_arrayes.IsTarget(type)) { return(_arrayes.Get().GetValue(type)); } return(null); }