Jump to content

Bug found


Recommended Posts

the event if (eData.eventType == "LOADING_SCENE_END") is not called while eData.eventType == "LOADING_SCENE_START" is called


using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using AtavismExtend;

public class UI_LoadingScreen : MonoBehaviour 
#region fields
#region MonoBehaviour
void Start () 
	RegisterEvent ();


#region ATAVISM logic
private void RegisterEvent()
	AtavismEventSystem.RegisterEvent("LOADING_SCENE_START", this);
	AtavismEventSystem.RegisterEvent("LOADING_SCENE_END", this);
	AtavismEventSystem.RegisterEvent("PLAYER_TELEPORTED", this);

public void OnEvent(AtavismEventData eData) {
	if (eData.eventType == "LOADING_SCENE_START") 

	if (eData.eventType == "LOADING_SCENE_END") 

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recommended Cloud Solution


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.