- Home /
Question by
jason-yi-kai · Aug 05, 2013 at 03:19 AM ·
sceneloadlevel
allowSceneActivation give me error message
Hi
My allowSceneActivation give me error message in the console, I don't know why cause it suppost to work. Anyone know what I have done wrong?
AsyncOperation async;
void Start()
{
async =Application.LoadLevelAsync(scene_name);
async.allowSceneActivation = false;
}
the console written: does not contain a definition for allowSceneActivation'error CS1061: Type
UnityEngine.AsyncOperation' does not contain a definition for allowSceneActivation' and no extension method
allowSceneActivation' of type `UnityEngine.AsyncOperation' could be found (are you missing a using directive or an assembly reference?)
Any idea? :/
Many Thanks
Comment