diff --git a/Assets/AnimateStandPrototype.cs b/Assets/AnimateStandPrototype.cs index 05fff46..297ee91 100644 --- a/Assets/AnimateStandPrototype.cs +++ b/Assets/AnimateStandPrototype.cs @@ -11,7 +11,7 @@ using Logger = OpenMetaverse.Logger; //make the avatar play the standing animation. public class AnimateStandPrototype : MonoBehaviour { - private RaindropInstance instance => ServiceLocator.Instance.Get(); + private RaindropInstance instance => RaindropInstance.GlobalInstance; public UUID standAnim => Animations.STAND; public UUID anim => standAnim; diff --git a/Assets/LogoutButton.cs b/Assets/LogoutButton.cs deleted file mode 100644 index ebd1bb5..0000000 --- a/Assets/LogoutButton.cs +++ /dev/null @@ -1,22 +0,0 @@ -using Plugins.CommonDependencies; -using Raindrop; -using UnityEngine; -using UnityEngine.UI; - -[RequireComponent(typeof(Button))] -public class LogoutButton : MonoBehaviour -{ - //get own references. - void Awake() - { - Button btn = this.GetComponent