From f65735c3308e7c2f6117a065e09a762cb8dd8941 Mon Sep 17 00:00:00 2001 From: Felix Boucher Date: Sun, 11 Jun 2023 14:15:06 -0400 Subject: [PATCH] added one method summary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit oubliƩ de save, manquait ce changement --- Assets/Scripts/Drag&Drop/DraggablePlaceholder.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/Scripts/Drag&Drop/DraggablePlaceholder.cs b/Assets/Scripts/Drag&Drop/DraggablePlaceholder.cs index 3655553..45c32bf 100644 --- a/Assets/Scripts/Drag&Drop/DraggablePlaceholder.cs +++ b/Assets/Scripts/Drag&Drop/DraggablePlaceholder.cs @@ -14,6 +14,9 @@ public abstract class DraggablePlaceholder : MonoBehaviour protected Rect _lvlBoundsCache; protected bool _isOnValidPosition; + /// + /// calculate level boundaries and finds main camera. + /// protected virtual void Start() { _mainCamCache = Camera.main;