AG
https://docs.unity3d.com/ScriptReference/Editor.OnSceneGUI.html
и
https://docs.unity3d.com/ScriptReference/Handles.DrawLine.html
Сталкивались? Решается?
Size: a a a
AG
AG
АА
RenderTexture, что при
RenderTextureс помощью метода
Graphics.Blit(srd, dst, mat)в эдиторе все работало как ожидается, а в билдах для iOS и Android в
RenderTextureзаписывался непонятный шум?
AM
V
U
d
d
V
d
public class NewBehaviourScript : MonoBehaviour {
private Vector3 current, previous;
private List<string> list = new List<string>();
void Update() {
previous = current;
current = Input.acceleration;
if (!current.Equals(previous)) list.Add((current-previous).ToString());
}
void OnGUI() {
GUILayout.SelectionGrid(-1, list.ToArray(), 10);
}
}
عح
V
d
d
PS
PS
V
PS
PS
PS