Killikario
Killikario
NNormal
Created by Killikario on 8/20/2024 in #🤝ask-a-question
Scripts Disabling
realtime.instantiate
19 replies
NNormal
Created by Killikario on 8/20/2024 in #🤝ask-a-question
Scripts Disabling
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Normal.Realtime;
public class RequestOwnership : MonoBehaviour
{
private RealtimeView realtimeView;
private RealtimeTransform realtimeTransform;
void Start(){
Request();
}

// Update is called once per frame
void Awake(){
Request();
}
public void Request(){
realtimeView = GetComponent<RealtimeView>();
if (realtimeView != null) realtimeView.RequestOwnershipOfSelfAndChildren();
realtimeTransform = GetComponent<RealtimeTransform>();
if (realtimeTransform != null) realtimeTransform.RequestOwnership();
}
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Normal.Realtime;
public class RequestOwnership : MonoBehaviour
{
private RealtimeView realtimeView;
private RealtimeTransform realtimeTransform;
void Start(){
Request();
}

// Update is called once per frame
void Awake(){
Request();
}
public void Request(){
realtimeView = GetComponent<RealtimeView>();
if (realtimeView != null) realtimeView.RequestOwnershipOfSelfAndChildren();
realtimeTransform = GetComponent<RealtimeTransform>();
if (realtimeTransform != null) realtimeTransform.RequestOwnership();
}
}
19 replies
NNormal
Created by Killikario on 8/20/2024 in #🤝ask-a-question
Scripts Disabling
heres the code for one of the scripts that get disabled
19 replies
NNormal
Created by Killikario on 8/20/2024 in #🤝ask-a-question
Scripts Disabling
Or i mean they arent programmed to disable themselves
19 replies
NNormal
Created by Killikario on 8/20/2024 in #🤝ask-a-question
Scripts Disabling
Since non of my scripts disable themselves at all
19 replies
NNormal
Created by Killikario on 8/20/2024 in #🤝ask-a-question
Scripts Disabling
Strange
19 replies
NNormal
Created by Killikario on 8/20/2024 in #🤝ask-a-question
Scripts Disabling
and there are no null exceptions either
19 replies
NNormal
Created by Killikario on 8/20/2024 in #🤝ask-a-question
Scripts Disabling
no
19 replies
NNormal
Created by Killikario on 8/21/2024 in #🤝ask-a-question
Scripts Disabling
sorry for not answering your question last time
5 replies
NNormal
Created by Killikario on 8/20/2024 in #🤝ask-a-question
Syncing GameObject enabled
alright
7 replies