private void SumAllVectors(string newVectorName, string vector1, string vector2, string vector3, string vector4, string vector5) { SuperVector superVector1 = GetVectorByName(vector1); if (superVector1 == null) { return; } SuperVector superVector2 = GetVectorByName(vector2); if (superVector2 == null) { return; } SuperVector superVector3 = GetVectorByName(vector3); SuperVector superVector4 = GetVectorByName(vector4); SuperVector superVector5 = GetVectorByName(vector5); SuperVector superVector = new SuperVector(); superVector.vectorName = newVectorName; superVector.SetTo(superVector1); superVector.Add(superVector2); superVector.Add(superVector3); superVector.Add(superVector4); superVector.Add(superVector5); RemoveNamedVector(newVectorName); superVector.RefreshGameObject(); AddNamedVector(superVector); }