Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI 자동 바인딩, Resource Manager, Pool Manager #19

Merged
merged 3 commits into from
May 7, 2022

Conversation

kjhcocomi
Copy link
Contributor

No description provided.

/// <summary>
/// Poolable Ŭ�����Դϴ�. ����Ʈ Ǯ��� �� ����տ� �� �����Ʈ�� �ٿ��ָ� �˴ϴ�.
/// </summary>
public class Poolable : MonoBehaviour
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요거는 클래스보다는 인터페이스로 하는게 더 좋을 것 같아요!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

나중에 스킬같은 것들은 자기 부모 클래스 상속받을 것 같아서 인터페이스가 더 유연하게 대처할 수 있을 것 같습니다

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 클래스가 상속받는게 아니라 컴포넌트로 붙여주는 형식으로 만들어서 굳이 인터페이스로 안해도 되지 않을까?
그냥 프리팹에 부품처럼 따로 붙여주기만 하면 되는거라서

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 그러면 괜찮을 것 같습니다

using UnityEngine;

/// <summary>
/// PoolManager Ŭ�����Դϴ�. ���ҽ���� ���մϴ�.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

주석 고쳐주세용

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정완료

@dongcheolpark
Copy link
Contributor

클래스들 Blind 네임스페이스 안으로 넣는게 좋을 것 같습니다

Copy link
Contributor

@dongcheolpark dongcheolpark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋아용 👍

using UnityEngine;

/// <summary>
/// PoolManager Ŭ�����Դϴ�. UI�� ���մϴ�.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

주석 고쳐주세용

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정완료

@@ -43,6 +44,7 @@ private static void Find()
{
s_instance = FindObjectOfType<T>(); // 현재 씬에 클래스가 있는지 확인
}


protected virtual void Init() { }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요거는 awake 오버라이드 하면 될 것 같아서 필요 없을듯 합니다

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다른 분들이랑 얘기 해보는 게 좋을 것 같아요

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

일단 빼놨음

/// <summary>
/// Poolable Ŭ�����Դϴ�. ����Ʈ Ǯ��� �� ����տ� �� �����Ʈ�� �ٿ��ָ� �˴ϴ�.
/// </summary>
public class Poolable : MonoBehaviour
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 그러면 괜찮을 것 같습니다

@Yeogiwon Yeogiwon merged commit 96021b1 into GAMPOT-DEV:develop May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants