Unity4.0.1 -> 4.1 CartoonFX Error
Unity4.0.1 -> 4.1
CartoonFX Error:
Assets/Cartoon FX/Spawn System/CFX_SpawnSystem.cs(23,34): error CS0161: `CFX_SpawnSystem.GetNextObject(UnityEngine.GameObject, bool)’: not all code paths return a value
**Change
**FROM
if(activateObject)
#if UNITY_4_0
returnObj.SetActive(true);
#elif UNITY_3_5
returnObj.SetActiveRecursively(true);
#endif
**TO
if(activateObject){
#if UNITY_4_0
returnObj.SetActive(true);
#elif UNITY_3_5
returnObj.SetActiveRecursively(true);
#endif
}
“Unity4.0.1 -> 4.1 CartoonFX Error” に対して1件のコメントがあります。
コメントは受け付けていません。
Thanks!!